
<select name='preceding_crop'>
<?php if(isset($preceding_crop)) : ?>
	<option<?php echo $preceding_crop == 'Barley' ? " selected='selected'" : '' ?>>Barley</option>
	<option<?php echo $preceding_crop == 'Corn' ? " selected='selected'" : '' ?>>Corn</option>
	<option<?php echo $preceding_crop == 'Canola' ? " selected='selected'" : '' ?>>Canola</option>
	<option<?php echo $preceding_crop == 'Corn Silage' ? " selected='selected'" : '' ?>>Corn Silage</option>
	<option<?php echo $preceding_crop == 'Dry Beans' ? " selected='selected'" : '' ?>>Dry Beans</option>
	<option<?php echo $preceding_crop == 'Forage Crops' ? " selected='selected'" : '' ?>>Forage Crops</option>
	<option<?php echo $preceding_crop == 'Potatoes' ? " selected='selected'" : '' ?>>Potatoes</option>
	<option<?php echo $preceding_crop == 'Rye' ? " selected='selected'" : '' ?>>Rye</option>
	<option<?php echo $preceding_crop == 'Snap Beans' ? " selected='selected'" : '' ?>>Snap Beans</option>
	<option<?php echo $preceding_crop == 'Sorghum' ? " selected='selected'" : '' ?>>Sorghum</option>
	<option<?php echo $preceding_crop == 'Soybeans' ? " selected='selected'" : '' ?>>Soybeans</option>
	<option<?php echo $preceding_crop == 'Sugar Beets' ? " selected='selected'" : '' ?>>Sugar Beets</option>
	<option<?php echo $preceding_crop == 'Sweet Corn' ? " selected='selected'" : '' ?>>Sweet Corn</option>
	<option<?php echo $preceding_crop == 'Vegetables' ? " selected='selected'" : '' ?>>Vegetables</option>
	<option<?php echo $preceding_crop == 'Wheat' ? " selected='selected'" : '' ?>>Wheat</option>
	<option<?php echo $preceding_crop == 'Other' ? " selected='selected'" : '' ?>>Other</option>
<?php else: ?>
	<option>Barley</option>
	<option>Canola</option>
	<option>Corn</option>
	<option>Corn Silage</option>
	<option>Dry Beans</option>
	<option>Forage Crops</option>
	<option>Potatoes</option>
	<option>Rye</option>
	<option>Snap Beans</option>
	<option>Sorghum</option>
	<option>Soybeans</option>
	<option>Sugar Beets</option>
	<option>Sweet Corn</option>
	<option>Vegetables</option>
	<option>Wheat</option>
	<option>Other</option>
<?php endif; ?>
</select>